Redirect /about to /resources #1774
Conversation
|
| const aboutRedirect = customWrapRoute({ | ||
| parent: rootLayout, | ||
| path: '/about', | ||
| component: { | ||
| render: () => import('#views/Resources'), | ||
| props: {}, | ||
| }, | ||
| wrapperComponent: Auth, | ||
| context: { | ||
| title: 'Resources', | ||
| visibility: 'anything', | ||
| }, | ||
| }); | ||
|
|
There was a problem hiding this comment.
Let's not render Resources page directly, we should use Navigate component to route to the resources page.
For example, https://github.com/IFRCGo/go-web-app/blob/6d755498fa096679ebd817fdb1efe9d7e94a2398/app/src/App/routes/index.tsx#L1178C1-L1193C4
Addresses
Changes
/aboutto/resourcesThis PR Ensures:
console.logstatements meant for debugging